#ifndef MASSAGE_H
#define MASSAGE_H

#include <QWidget>
#include "gengx.h"
#include <QLine>
#include <QTableView>
#include <QSqlTableModel>


namespace Ui {
class massage;
}

class massage : public QWidget
{
    Q_OBJECT

public:
    explicit massage(QWidget *parent = 0);
    ~massage();
    void massage_show();
private slots:
    void on_le_search_textChanged(const QString &arg1);

    void on_button_selete_clicked();

    void on_toolButton_clicked();
    void on_dataUpdated();
private:
    Ui::massage *ui;
    gengx * gx;
    QSqlTableModel *model;
    QSqlDatabase data_s;
};

#endif // MASSAGE_H
